//
//  FormatUtil.h
//  TableBarControllerDemo
//
//  Created by 边果互动 on 2021/3/17.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface FormatUtil : NSObject

+ (NSString *) encodeStringFromDic: (NSDictionary *) dic andKey: (NSString *) key;

+ (NSNumber *) encodeNumberFromDic: (NSDictionary *) dic andKey: (NSString *) key;

+ (NSString *) getCurrentTime: (NSString *) pattern;

+ (NSString *) date2Str: (NSDate *) date andWithPattern: (NSString *) pattern;

+ (NSString *) str2Time:  (NSString *) timeStr andWithPattern: (NSString *) pattern;

@end

NS_ASSUME_NONNULL_END
